package com.abel.servicegoods.mapper;

import com.abel.servicemodel.user.UserInnodb;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<UserInnodb> {
    @Select("select * from user_innodb where id between 8888889 and 8890887")
 /*   @Results({
            @Result(id = true,property = "id",column = "id"),
            @Result(column = "name",property = "name"),
            @Result(column = "gender",property = "gender"),
            @Result(column = "phone",property = "phone")
    })*/
    List<UserInnodb> find();
}
